package com.example.speeddating.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;

/**
 *
 * @author tina
 * @since 2023-06-28 11:14:33
 */
@Getter
@Setter
@TableName("article_image")
public class ArticleImage implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;


    private String image1;

    private String image2;

    private String image3;

    private String image4;

    private String image5;

    private String image6;

    /**
     * 文章id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long articleId;
}
